From: Ilias Tsitsimpis Date: Sat, 24 Jan 2026 12:41:42 +0000 (+0200) Subject: Match arm-unknown-linux to armv7-unknown-linux X-Git-Tag: archive/raspbian/9.10.3-3+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:sonu.itbhu%40googlemail.com//%22mailto:i18n-csb%40linuxcsb.org/%22/%22http:/www.example.com/%22mailto:sonu.itbhu%40googlemail.com/%22mailto:i18n-csb%40linuxcsb.org/%22?a=commitdiff_plain;h=a598eeabc1c7329f300302e838623aa1848fb6fc;p=ghc.git Match arm-unknown-linux to armv7-unknown-linux Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/26734 Bug-Debian: https://bugs.debian.org/1124748 Forwarded: Gbp-Pq: Name armhf-target-platform --- diff --git a/configure.ac b/configure.ac index acaadd2f..edc2c07f 100644 --- a/configure.ac +++ b/configure.ac @@ -277,7 +277,9 @@ FP_PROG_SH # Verify that the installed (bootstrap) GHC is capable of generating # code for the requested build platform. -if test "$BuildPlatform" != "$bootstrap_target" +if test "$BuildPlatform" != "$bootstrap_target" \ + && (test "$BuildPlatform" != "arm-unknown-linux" \ + || test "$bootstrap_target" != "armv7-unknown-linux") then echo "This GHC (${WithGhc}) does not generate code for the build platform" echo " GHC target platform : $bootstrap_target"